package com.koron.ticket.work.workline.mapper;


import com.koron.ticket.work.workline.bean.WorkLine;
import com.koron.ticket.work.workline.bean.WorkLineQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (TicketWorkLine)表数据库访问层
 *
 * @author 朱超
 * @since 2021-11-11 17:19:03
 */
public interface WorkLineMapper {

    void insert(WorkLine workLine);

    void batchInsert(List<WorkLine> list);

    void deleteById(@Param("id") String id);
    
    void update(WorkLine workLine);
    
    WorkLine getSingle(WorkLineQuery workLineQuery);
    
    List<WorkLine> getList(WorkLineQuery workLineQuery);

    void deleteByWorkTicketId(@Param("workTicketId") String workTicketId);
}
